# -*- coding: utf-8 -*-

from celery_project.app import celery_app

if __name__ == '__main__':
    # 注意Windows系统设置threads，其他(eventlet或gevent)都有问题
    celery_app.worker_main(argv=['worker', '-l', 'info', '-P', 'threads', '-E'])
    pass
